package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author zhangjunjie 2019/4/29
 * 技师的待办消息
 */
@Entity
@Table(name = "js_upcoming")
@ApiModel(value = "技师的待办消息" ,description = "技师的待办消息")
public class UpcomingInfo extends UUIDEntity {
    @Column(name = "tech_id")
    @ApiModelProperty(value = "techId", required = true)
    private String techId;//技师id

    @Column(name = "type")
    @ApiModelProperty(value = "type", required = true)
    private String type;//消息分类

    @Column(name = "content")
    @ApiModelProperty(value = "content", required = true)
    private String content;//消息内容

    @Column(name = "create_time")
    @ApiModelProperty(value = "createTime", required = true)
    private Date createTime;//生成时间

    @Column(name = "flag")
    @ApiModelProperty(value = "flag", required = true)
    private Integer flag;//消息状态

    public String getTechId() {
        return techId;
    }

    public void setTechId(String techId) {
        this.techId = techId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}
